import {
    createSSRApp
} from "vue";
import App from "./App.vue";
import prototype from './common/prototype.js'//全局挂载
import uviewPlus from 'uview-plus'
import { createPinia } from 'pinia'

const pinia = createPinia()

export function createApp() {
    const app = createSSRApp(App)
    app.use(uviewPlus)
    app.use(prototype)
    app.use(pinia)

    return {
        app,
    };
}
